home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_lists.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  2.0 KB  |  90 lines

  1. /*****************************************************************************
  2.   FILE           : ui_lists.ph
  3.   SHORTNAME      : lists.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 28.8.1990
  11.  
  12.   CHANGED BY     : Sven Doering
  13.   IDENTIFICATION : @(#)ui_lists.ph    1.13 4/7/94
  14.   SCCS VERSION   : 1.13
  15.   LAST CHANGE    : 4/7/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_LISTS_DEFINED_
  23. #define _UI_LISTS_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. void ui_list_buildList (struct SimpleListType *);
  30. void ui_list_setUnitValue (Widget, struct SimpleListType *, 
  31.     XawListReturnStruct *);
  32.  
  33.  
  34. char  *ui_list_iotypes[] = {
  35.     "unknown",
  36.     "input",
  37.     "output",
  38.     "hidden",
  39.     "dual",
  40.     "special",
  41.     "special_i",
  42.     "special_o",
  43.     "special_h",
  44.     "special_d",
  45.     "special_X",
  46.     "non-special_X"
  47.     };
  48.  
  49.     /* number of list items */
  50. int   ui_list_noOfSites      = 0;
  51. int   ui_list_noOfFTypeSites = 0;
  52.  
  53.     /* return values of the list panel */
  54. char   ui_list_returnName[MAX_NAME_LENGTH];
  55. int    ui_list_returnIndex = XAW_LIST_NONE;
  56.  
  57.     /* message widget in the remote panel */
  58. /* Widget   ui_remoteMessageWidget;*/
  59.  
  60.  
  61.  
  62. /* end global definition section */
  63.  
  64.  
  65. /* begin private definition section */
  66.  
  67.  
  68. static char *ui_list_getFirstItem (int type);
  69. static char *ui_list_getNextItem (int type);
  70.  
  71.  
  72.     /* used to store the last funtion number reported by the kernel
  73.     UI_LIST_ACT_FUNC, UI_LIST_OUT_FUNC, UI_LIST_SITE_FUNC, 
  74.     UI_LIST_LEARN_FUNC, UI_LIST_UPDATE_FUNC, UI_LIST_INIT_FUNC */
  75. static int   ui_list_currentFuncNo[10] = { 0,0,0,0,0,0,0,0,0,0 };
  76.  
  77.     /* number of list items */
  78. static int   ui_list_currentIOType = 0;
  79. static int   ui_list_noOfFtypes     = 0;
  80. static int   ui_list_noOfFunctions  = 0;
  81.  
  82. /* end private definition section */
  83.  
  84.  
  85. #endif /* _UI_LISTS_DEFINED_ */
  86.  
  87.  
  88. /* end of file */
  89. /* lines: 28 */
  90.